package com.sec.domain.mysql;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 用户访问记录
 * Created by Administrator on 2017/11/3.
 */
@Entity
@Table(name = "USER_ACCESS_LOG")
public class UserAccessLog implements Serializable {

    @Id
    @Column(name = "username")
    private String username;

    @Id
    @Column(name = "access_url")
    private String accessUrl;
    @Basic
    @Column(name = "url_count")
    private Integer urlCount;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAccessUrl() {
        return accessUrl;
    }

    public void setAccessUrl(String accessUrl) {
        this.accessUrl = accessUrl;
    }

    public Integer getUrlCount() {
        return urlCount;
    }

    public void setUrlCount(Integer urlCount) {
        this.urlCount = urlCount;
    }
}
